package com.project.bean;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 供货商表实体类
 */

@Data
@Api(tags = "供货商视图")
@TableName(value = "sys_suppliers")
public class SuppliersBean {
    @ApiModelProperty(value = "编号",hidden = true)
    @TableId(value = "pk_suppliersId")
    private int id;

    @ApiModelProperty(value = "供货商名称")
    @TableField(value = "suppliersName")
    private String suppliersName;

    @ApiModelProperty(value = "负责人")
    @TableField(value = "supplierManager")
    private String supplierManager;

    @ApiModelProperty(value = "供应商电话")
    @TableField(value = "supplierPhone")
    private String supplierPhone;


    @ApiModelProperty(value = "供应商地址")
    @TableField(value = "supplierAddress")
    private String supplierAddress;

    @ApiModelProperty(value = "经营范围")
    @TableField(value = "supplierRange")
    private String supplierRange;

    public SuppliersBean() {
    }

    public SuppliersBean(String suppliersName, String supplierManager, String supplierPhone, String supplierAddress, String supplierRange) {
        this.suppliersName = suppliersName;
        this.supplierManager = supplierManager;
        this.supplierPhone = supplierPhone;
        this.supplierAddress = supplierAddress;
        this.supplierRange = supplierRange;
    }
}
